package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/3/2 14:00
 */
@XmlRootElement(name = "Data")
public class ReservationConfirmationXmlResponse {

    private Patient patient;
    private Item item;

    @XmlElement(name = "Patient")
    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }
    @XmlElement(name = "Item")
    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    @XmlRootElement(name = "Patient")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Patient {
        private String Name;//患者姓名
        private String BirthDate;//出生日期
        private String Sex;//性别代码:1男性2女性9未说明的性别0未知的性别
        private String ClinicNumber;//门诊号码
        private String InhospitalNumber;//住院号码

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getBirthDate() {
            return BirthDate;
        }

        public void setBirthDate(String birthDate) {
            BirthDate = birthDate;
        }

        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        public String getClinicNumber() {
            return ClinicNumber;
        }

        public void setClinicNumber(String clinicNumber) {
            ClinicNumber = clinicNumber;
        }

        public String getInhospitalNumber() {
            return InhospitalNumber;
        }

        public void setInhospitalNumber(String inhospitalNumber) {
            InhospitalNumber = inhospitalNumber;
        }
    }
    @XmlRootElement(name = "Item")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Item{
        private String RequestId;               //检查申请单号
        private String ItemCode;                //检查项目代码
        private String ItemName;                //检查项目名称
        private String IsAppointment;           //预约标志
        private String AppointsId;              //预约记录流水号
        private String AppointsDateTime;        //预约时间
        private String AppointsOrganization;    //预约执行机构
        private String AppointsDept;            //预约执行科室
        private String AppointsDeptName;        //预约执行科室名称
        private String AppointsQueue;           //预约队列
        private String AppointsQueueName;       //预约队列名称
        private String AppointsNo;              //预约顺序号
        private String AppointAddress;          //检查地点
        private String AppointAttention;        //注意事项
        private String EmptyStomach;            //是否空腹
        private String HoldUrine;               //是否憋尿
        private String RequestTime;             //申请时间
        private String RequestDept;             //申请科室
        private String RequestDeptName;         //申请科室名称
        private String RequestDoctor;           //申请医师
        private String RequestDoctorName;       //申请医师姓名
        private long timeRemaining;             //预约未付费自动取消剩余时间

        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }

        public String getItemCode() {
            return ItemCode;
        }

        public void setItemCode(String itemCode) {
            ItemCode = itemCode;
        }

        public String getItemName() {
            return ItemName;
        }

        public void setItemName(String itemName) {
            ItemName = itemName;
        }

        public String getIsAppointment() {
            return IsAppointment;
        }

        public void setIsAppointment(String isAppointment) {
            IsAppointment = isAppointment;
        }

        public String getAppointsId() {
            return AppointsId;
        }

        public void setAppointsId(String appointsId) {
            AppointsId = appointsId;
        }

        public String getAppointsDateTime() {
            return AppointsDateTime;
        }

        public void setAppointsDateTime(String appointsDateTime) {
            AppointsDateTime = appointsDateTime;
        }

        public String getAppointsOrganization() {
            return AppointsOrganization;
        }

        public void setAppointsOrganization(String appointsOrganization) {
            AppointsOrganization = appointsOrganization;
        }

        public String getAppointsDept() {
            return AppointsDept;
        }

        public void setAppointsDept(String appointsDept) {
            AppointsDept = appointsDept;
        }

        public String getAppointsDeptName() {
            return AppointsDeptName;
        }

        public void setAppointsDeptName(String appointsDeptName) {
            AppointsDeptName = appointsDeptName;
        }

        public String getAppointsQueue() {
            return AppointsQueue;
        }

        public void setAppointsQueue(String appointsQueue) {
            AppointsQueue = appointsQueue;
        }

        public String getAppointsQueueName() {
            return AppointsQueueName;
        }

        public void setAppointsQueueName(String appointsQueueName) {
            AppointsQueueName = appointsQueueName;
        }

        public String getAppointsNo() {
            return AppointsNo;
        }

        public void setAppointsNo(String appointsNo) {
            AppointsNo = appointsNo;
        }

        public String getAppointAddress() {
            return AppointAddress;
        }

        public void setAppointAddress(String appointAddress) {
            AppointAddress = appointAddress;
        }

        public String getAppointAttention() {
            return AppointAttention;
        }

        public void setAppointAttention(String appointAttention) {
            AppointAttention = appointAttention;
        }

        public String getEmptyStomach() {
            return EmptyStomach;
        }

        public void setEmptyStomach(String emptyStomach) {
            EmptyStomach = emptyStomach;
        }

        public String getHoldUrine() {
            return HoldUrine;
        }

        public void setHoldUrine(String holdUrine) {
            HoldUrine = holdUrine;
        }

        public String getRequestTime() {
            return RequestTime;
        }

        public void setRequestTime(String requestTime) {
            RequestTime = requestTime;
        }

        public String getRequestDept() {
            return RequestDept;
        }

        public void setRequestDept(String requestDept) {
            RequestDept = requestDept;
        }

        public String getRequestDeptName() {
            return RequestDeptName;
        }

        public void setRequestDeptName(String requestDeptName) {
            RequestDeptName = requestDeptName;
        }

        public String getRequestDoctor() {
            return RequestDoctor;
        }

        public void setRequestDoctor(String requestDoctor) {
            RequestDoctor = requestDoctor;
        }

        public String getRequestDoctorName() {
            return RequestDoctorName;
        }

        public void setRequestDoctorName(String requestDoctorName) {
            RequestDoctorName = requestDoctorName;
        }

        public long getTimeRemaining() {
            return timeRemaining;
        }

        public void setTimeRemaining(long timeRemaining) {
            this.timeRemaining = timeRemaining;
        }
    }
}
